package sg.edu.nus.iss.vmcs.termination.states;

import sg.edu.nus.iss.vmcs.customer.CoinReceiver;
import sg.edu.nus.iss.vmcs.system.DispenseController;
import sg.edu.nus.iss.vmcs.termination.template.Termination;
import sg.edu.nus.iss.vmcs.termination.template.TerminationOnStoringCoins;

public class StoringCoinsState extends TerminateState {

	public void handleTermination(DispenseController dc,CoinReceiver coinRec)
	{		
		
		Termination terminate=new TerminationOnStoringCoins(coinRec);
		terminate.terminate(dc);
		
	}
	
}
